package com.lfnyxy.dao;

import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.ProviceRefEntity;
import com.lfnyxy.query.ProviceRefQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ProviceRefDao {
    int CreateItem(ProviceRefEntity entity);

    int UpdateItem(ProviceRefEntity entity);

    List <ProviceRefEntity> QueryPageList(ProviceRefQuery query);

    List <ProviceRefEntity> QueryAll();

    int QueryPageListCount(ProviceRefQuery query);

    int CheckIsExist(ProviceRefEntity entity);

    ProviceRefEntity QueryItem(int Id);

    int DeleteItem(int Id);

    List <DropVo> QueryDrop();
}